/**
 * @Title:  BaseFragment.java 
 * @Copyright:  XXX Co., Ltd. Copyright YYYY-YYYY,  All rights reserved 
 * @Description:  TODO<请描述此文件是做什么的> 
 * @author:  MeiYi 
 * @data:  2015-12-7 上午10:11:39 
 * @version:  V1.0 
 */   
  
package artid.com.arttogo.fragment;

import android.support.v4.app.Fragment;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.hitomi.tilibrary.TransferImage;
import com.umeng.analytics.MobclickAgent;

/** 
 * TODO<请描述这个类是干什么的> 
 * @author  熊彬
 * @data:  2015-12-7 上午10:11:39 
 * @version:  V1.0 
 */
public class BaseFragment extends Fragment {
	public ImageView mBack;
	public TextView mTittle;
	public RelativeLayout loading;
	public LinearLayout hint;
	protected TransferImage transferImage;

	@Override
	public void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
		MobclickAgent.onResume(getActivity());
	}
	@Override
	public void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		MobclickAgent.onPause(getActivity());
	}

//	@Override
//	protected boolean onBackPressed() {
//		if (transferImage != null && transferImage.isShown()) {
//			transferImage.dismiss();
//		}
//		return false;
//	}
}
